package com.hdoit.ares.logical.ser.service;


import java.util.List;

import com.hdoit.ares.logical.ser.model.GoodsService;
import com.hdoit.ares.logical.viewmodel.ser.GoodsServiceSearch;
import com.tennetcn.common.dao.base.ISuperService;
import com.tennetcn.common.logical.setting.model.ParamOption;
import com.tennetcn.common.message.PagerModel;
/**
 * @author      lvsi
 * @email       
 * @createtime  2017年11月22日 14:24:00
 * @comment
 */
/**
 * @author      lvsi
 * @email       
 * @createtime  2017年11月22日 14:24:00
 * @comment
 */
public interface IGoodsServiceService extends ISuperService<GoodsService>{

    public int queryGoodsServiceCount(GoodsServiceSearch goodsServiceSearch);
	
	public List<GoodsService> queryGoodsServiceList(GoodsServiceSearch goodsServiceSearch,PagerModel pagerModel);
	
	public GoodsService queryGoodsServiceModel(String key);
	
	public List<ParamOption> queryAllServiceTypeName(String serviceTypeName);
	
	public List<ParamOption>queryList(String parentId);
	
	public List<GoodsService>queryFirstGoods(String serviceTypeName,String serviceName,String deleteMark);

	/*boolean applyChange(GoodsService goodsService, LoginModel loginModel);*/
    
    //店铺员工查看的商品界面
  	public int queryStoreGoodsCountById(GoodsServiceSearch goodsServiceSearch,String loginId);
  		
  	public List<GoodsService> queryStoreGoodsById(GoodsServiceSearch goodsServiceSearch,PagerModel pagerModel,String loginId);

	public Integer queryMaxGoodsSortCode();
	
	public int queryGoodsServiceCountById(GoodsServiceSearch goodsServiceSearch,String loginId);
		
    public List<GoodsService> queryGoodsServiceListById(GoodsServiceSearch goodsServiceSearch,PagerModel pagerModel,String loginId);
    
    public GoodsService selectModelById(String id);

    public int updateLargePicById(String id);
	
	public int updateSmallPicById(String id);
}
